package zhou.jan07;

public class Animal {
	int age;           //动物差异属性
	String color;
	float weigth;
	float height;
	String category;
	
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	void eat(String food){
		System.out.println(category+"吃了"+food);
	}
	
	void run(){
		System.out.println("跑了");
	}
	
	
	
	
	

}
